import logManager
import NLP
from PyQt5.QtWidgets import *
import UI.main_UI as main_UI
import sys


class MainUi(QMainWindow, main_UI.Ui_MainWindow):
    def __init__(self):
        super(MainUi, self).__init__()
        self.setupUi(self)
        main_window = logManager.LogManagerUI()
        nlp_ui = NLP.NLPUi(main_window)
        self.horizontalLayout.addWidget(nlp_ui)
        self.horizontalLayout.addWidget(main_window)


if __name__ == '__main__':
    app = QApplication(sys.argv)
    # noinspection PyArgumentList
    app.setStyle(QStyleFactory.create('Fusion'))
    main_UI = MainUi()
    main_UI.show()
    app.exec_()
